package com.supereye.platform.util;

import java.io.InputStream;
import java.util.Properties;

public class PropUtil {
	
	private static Properties pro = new Properties();
	static{
		try{
			InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream("application.properties");
			pro.load(in);
			in.close();
		}catch(Exception e){
			e.printStackTrace();
		}
	}
	
	public static String get(String key){
		return pro.getProperty(key);
	}
}
